﻿using System;
using System.Collections.Generic;
using System.Text;

namespace WeShare.WeiXin.Pay
{
    public class RefundRes : BasePayRes
    {
        public string transaction_id { get; set; }
        public string out_trade_no { get; set; }
        /// <summary>
        /// 商户退款单号
        /// </summary>
        public string out_refund_no { get; set; }
        /// <summary>
        /// 微信退款单号
        /// </summary>
        public string refund_id { get; set; }
        /// <summary>
        /// 退款金额
        /// </summary>
        public int refund_fee { get; set; }
        /// <summary>
        /// 应结退款金额
        /// </summary>
        public int settlement_refund_fee { get; set; }
        /// <summary>
        /// 标价金额
        /// </summary>
        public int total_fee { get; set; }
        /// <summary>
        /// 应结订单金额
        /// </summary>
        public int settlement_total_fee { get; set; }
        /// <summary>
        /// 标价币种
        /// </summary>
        public string fee_type { get; set; }
        /// <summary>
        /// 现金支付金额
        /// </summary>
        public int cash_fee { get; set; }
        /// <summary>
        /// 现金支付币种
        /// </summary>
        public string cash_fee_type { get; set; }
        /// <summary>
        /// 现金退款金额
        /// </summary>
        public int cash_refund_fee { get; set; }
        /// <summary>
        /// 代金券类型.CASH--充值代金券 NO_CASH---非充值优惠券.开通免充值券功能，并且订单使用了优惠券后有返回（取值：CASH、NO_CASH）
        /// </summary>
        public Dictionary<string,string> coupon_type{ get; set; }
        /// <summary>
        /// 代金券退款金额。第一项为总金额。
        /// </summary>
        public Dictionary<string, string> coupon_refund_fee{ get; set; }
        /// <summary>
        /// 退款代金券使用数量
        /// </summary>
        public int coupon_refund_count { get; set; }
        /// <summary>
        /// 退款代金券ID	
        /// </summary>
        public Dictionary<string,string> coupon_refund_id { get; set; }
    }
}
